package com.client.one.provider;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {

	@RequestMapping(value="/hello.do",method=RequestMethod.GET)
	public String sayHello(String name) {
		return "get say hello " + name;
	}
	@RequestMapping(value="/hello.do",method=RequestMethod.POST)
	public String sayHello1(String name) {
		return "post say hello " + name;
	}
}
